\hypertarget{random__factory_8h}{\section{E\-:/!代码工厂/3\-D引擎/random\-\_\-factory.h 文件参考}
\label{random__factory_8h}\index{E\-:/!代码工厂/3\-D引擎/random\-\_\-factory.\-h@{E\-:/!代码工厂/3\-D引擎/random\-\_\-factory.\-h}}
}
{\ttfamily \#include \char`\"{}engine\-\_\-base.\-h\char`\"{}}\\*
\subsection*{函数}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{random__factory_8h_af3e9f9a166f0d4915e2343acc17c5bdb}{my\-\_\-srand} ()
\item 
int \hyperlink{random__factory_8h_a95b79072a1db3f06ad6df65e71a2bb71}{my\-\_\-rand} ()
\item 
float \hyperlink{random__factory_8h_a018e59b9fbaa944e1a48f5ac6fc17727}{Get\-Random\-Float} (float low\-Bound, float high\-Bound)
\item 
void \hyperlink{random__factory_8h_ac3d67247dfc8ccb04f55fc9ff75887b1}{Get\-Random\-Vector} (D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$out, D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$min, D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$max)
\item 
int \hyperlink{random__factory_8h_a2fedbe4ad77801cc2a37c4010e015611}{Get\-Random\-Int} (int low, int height)
\item 
void \hyperlink{random__factory_8h_a85f221e1e2e72aacbec073781b6831d9}{Get\-Random\-Normal\-Vector} (D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$out, D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$min, D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$max)
\end{DoxyCompactItemize}


\subsection{函数说明}
\hypertarget{random__factory_8h_a018e59b9fbaa944e1a48f5ac6fc17727}{\index{random\-\_\-factory.\-h@{random\-\_\-factory.\-h}!Get\-Random\-Float@{Get\-Random\-Float}}
\index{Get\-Random\-Float@{Get\-Random\-Float}!random_factory.h@{random\-\_\-factory.\-h}}
\subsubsection[{Get\-Random\-Float}]{\setlength{\rightskip}{0pt plus 5cm}float Get\-Random\-Float (
\begin{DoxyParamCaption}
\item[{float}]{low\-Bound, }
\item[{float}]{high\-Bound}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{random__factory_8h_a018e59b9fbaa944e1a48f5ac6fc17727}
\hypertarget{random__factory_8h_a2fedbe4ad77801cc2a37c4010e015611}{\index{random\-\_\-factory.\-h@{random\-\_\-factory.\-h}!Get\-Random\-Int@{Get\-Random\-Int}}
\index{Get\-Random\-Int@{Get\-Random\-Int}!random_factory.h@{random\-\_\-factory.\-h}}
\subsubsection[{Get\-Random\-Int}]{\setlength{\rightskip}{0pt plus 5cm}int Get\-Random\-Int (
\begin{DoxyParamCaption}
\item[{int}]{low, }
\item[{int}]{height}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{random__factory_8h_a2fedbe4ad77801cc2a37c4010e015611}
\hypertarget{random__factory_8h_a85f221e1e2e72aacbec073781b6831d9}{\index{random\-\_\-factory.\-h@{random\-\_\-factory.\-h}!Get\-Random\-Normal\-Vector@{Get\-Random\-Normal\-Vector}}
\index{Get\-Random\-Normal\-Vector@{Get\-Random\-Normal\-Vector}!random_factory.h@{random\-\_\-factory.\-h}}
\subsubsection[{Get\-Random\-Normal\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}void Get\-Random\-Normal\-Vector (
\begin{DoxyParamCaption}
\item[{D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$}]{out, }
\item[{D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$}]{min, }
\item[{D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$}]{max}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{random__factory_8h_a85f221e1e2e72aacbec073781b6831d9}
\hypertarget{random__factory_8h_ac3d67247dfc8ccb04f55fc9ff75887b1}{\index{random\-\_\-factory.\-h@{random\-\_\-factory.\-h}!Get\-Random\-Vector@{Get\-Random\-Vector}}
\index{Get\-Random\-Vector@{Get\-Random\-Vector}!random_factory.h@{random\-\_\-factory.\-h}}
\subsubsection[{Get\-Random\-Vector}]{\setlength{\rightskip}{0pt plus 5cm}void Get\-Random\-Vector (
\begin{DoxyParamCaption}
\item[{D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$}]{out, }
\item[{D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$}]{min, }
\item[{D3\-D\-X\-V\-E\-C\-T\-O\-R3 $\ast$}]{max}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{random__factory_8h_ac3d67247dfc8ccb04f55fc9ff75887b1}
\hypertarget{random__factory_8h_a95b79072a1db3f06ad6df65e71a2bb71}{\index{random\-\_\-factory.\-h@{random\-\_\-factory.\-h}!my\-\_\-rand@{my\-\_\-rand}}
\index{my\-\_\-rand@{my\-\_\-rand}!random_factory.h@{random\-\_\-factory.\-h}}
\subsubsection[{my\-\_\-rand}]{\setlength{\rightskip}{0pt plus 5cm}int my\-\_\-rand (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{random__factory_8h_a95b79072a1db3f06ad6df65e71a2bb71}
\hypertarget{random__factory_8h_af3e9f9a166f0d4915e2343acc17c5bdb}{\index{random\-\_\-factory.\-h@{random\-\_\-factory.\-h}!my\-\_\-srand@{my\-\_\-srand}}
\index{my\-\_\-srand@{my\-\_\-srand}!random_factory.h@{random\-\_\-factory.\-h}}
\subsubsection[{my\-\_\-srand}]{\setlength{\rightskip}{0pt plus 5cm}void my\-\_\-srand (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{random__factory_8h_af3e9f9a166f0d4915e2343acc17c5bdb}
